package com.easy.mapper;

import com.easy.bean.ManagerBean;
import com.easy.bean.UserBean;
import com.easy.util.Page;
import org.apache.catalina.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface UserBeanDao {
    int add(@Param("param") UserBean userBean);

    int del(@Param("id") Integer id);

    int edit(@Param("param") UserBean userBean);

    UserBean one(@Param("id")Integer id);

    List<UserBean> all(@Param("param") UserBean userBean);

    int pageCount(@Param("param") UserBean userBean);

    List<UserBean> page(@Param("page") Page page, @Param("param") UserBean userBean);

    UserBean getById(@Param("user_id") String user_id);

}
